package cn.edu.lingnan.demo2.demo2Service;

import cn.edu.lingnan.demo2.demo2Dao.UserMapper2;
import cn.edu.lingnan.demo2.demo2Dao.UserMapperSqlserverImpl2;

public class UserServiceSqlserverImpl2 implements UserService2 {

    @Override
    public void query() {
        System.out.println("Sqlserver的查询逻辑实现");
        UserMapper2 userMapperSqlserverImpl1=new UserMapperSqlserverImpl2();
        userMapperSqlserverImpl1.query();
    }

    @Override
    public void insert() {
        System.out.println("Sqlserver的插入逻辑实现");
        UserMapper2 userMapperSqlserverImpl1=new UserMapperSqlserverImpl2();
        userMapperSqlserverImpl1.insert();
    }

    @Override
    public void update() {
        System.out.println("Sqlserver的查询修改实现");
        UserMapper2 userMapperSqlserverImpl1=new UserMapperSqlserverImpl2();
        userMapperSqlserverImpl1.update();
    }

    @Override
    public void delete() {
        System.out.println("Sqlserver的查询删除实现");
        UserMapper2 userMapperSqlserverImpl1=new UserMapperSqlserverImpl2();
        userMapperSqlserverImpl1.delete();
    }
}
